package com.guoxue.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.guoxue.dao.ISwitchSettingDao;
import com.guoxue.domain.SwitchSettingVo;
import com.guoxue.service.ISwitchSettingService;
@Service("switchSettingService")
public class SwitchSettingServiceImpl implements ISwitchSettingService{
	@Resource
	private ISwitchSettingDao dao;

	@Override
	public int countSwitchSetting() {
		// TODO Auto-generated method stub
		return dao.countSwitchSetting();
	}

	@Override
	public void saveSwitchSetting(SwitchSettingVo ss) {
		// TODO Auto-generated method stub
		dao.saveSwitchSetting(ss);
	}

	@Override
	public SwitchSettingVo getSwitchSettingByKey(String switchValue) {
		// TODO Auto-generated method stub
		return dao.getSwitchSettingByKey(switchValue);
	}

	@Override
	public List<SwitchSettingVo> getSwitchSettingList() {
		// TODO Auto-generated method stub
		return dao.getSwitchSettingList();
	}

}
